import React, { Component } from 'react'

export default class Son extends Component {
    render() {
        console.log('this.props: ', this.props); // 接收父组件传递的外部数据
        let {count, msg} = this.props;
        return (
            <div>
                <h3>Son 子组件</h3>
                <p>props count: {count}</p>
                <p>props msg: {msg}</p>

            </div>
        )
    }
}
